package com.zy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.gateway.filter.factory.AddRequestHeaderGatewayFilterFactory;
import org.springframework.cloud.gateway.filter.factory.StripPrefixGatewayFilterFactory;
import org.springframework.cloud.gateway.handler.predicate.BetweenRoutePredicateFactory;
import org.springframework.cloud.gateway.handler.predicate.MethodRoutePredicateFactory;
import org.springframework.cloud.gateway.handler.predicate.PathRoutePredicateFactory;

@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApp
{
    public static void main( String[] args )
    {

        PathRoutePredicateFactory prpf;
        MethodRoutePredicateFactory mrpf;
        BetweenRoutePredicateFactory brpf;

        StripPrefixGatewayFilterFactory spgff;
        AddRequestHeaderGatewayFilterFactory arhgf;



         SpringApplication.run(   GatewayApp.class, args  );
    }
}
